import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/device-spare-parts-borrow-record-api',
    method: 'get',
    params,
  })
}

//获取备件领用详细信息
export function detailList(params) {
  return request({
    url: '/device-spare-parts-borrow-record-api/detail',
    method: 'get',
    params,
  })
}


//获取备件领用详细信息id
export function del(id) {
  return request({
    url: '/device-spare-parts-borrow-record-api/' + id,
    method: 'delete'
  })
}
